package com.example.haojiutao.service.impl;

import com.example.haojiutao.mapper.BannerMapper;
import com.example.haojiutao.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.Banner;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  @Description:
 * @Author: zhou_yuan
 * @CreateTime： 2024/2/2 15:38
 */
@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    private BannerMapper bannerMapper;

    /**
     * @Description: 查询所有轮播图
     * @Author: zhou_yuan
     * @CreateTime： 2024/2/2 15:39
     * @param: null
     * @return: null
     **/
    @Override
    public List<Banner> selectAll() {
        return bannerMapper.selectAll();
    }
}
